package com.twotwoshop.commom.rabbitmq;

public class RabbitConstants {

    //商品消息队列
    public static final String TWOTWO_GOODS_TOPIC ="twotwo.goods.topic";

    //商品交换机
    public static final String TWOTWO_GOODS_EXCHANGE ="twotwo.goods.exchange";


    //商品查询队列
    public static final String TWOTWO_SEARCH_TOPIC ="twotwo.search.topic";

    //商品查询交换机
    public static final String TWOTWO_SEARCH_EXCHANGE ="twotwo.search.exchange";


    //订单金额消息队列
    public static final String TWOTWO_ORDER_TOPIC ="twotwo.order.topic";

    //订单金额交换机
    public static final String TWOTWO_ORDER_EXCHANGE ="twotwo.order.exchange";



    //订单过期时间死信交换机
    public static final String TWOTWO_DLX_ORDER_EXCHANGE ="twotwo.dlx.order.exchange";

    //订单过期时间死信队列
    public static final String TWOTWO_DLX_ORDER_TOPIC ="twotwo.dlx.order.topic";





    public static final String ACTION="action";

    //商品的操作
    //添加
    public static final String ACTION_ADD="add";
    //更改
    public static final String ACTION_UPDATE="update";
    //删除
    public static final String ACTION_DELETE="delete";


    //商品信息类型
    //热点
    public static final String ACTION_HOT="hot";
    //最新
    public static final String ACTION_NEW="new";
    //推荐
    public static final String ACTION_COMMENT="comment";

}
